package com.jaws.demo.service;

import javax.annotation.Resource;

import lombok.extern.slf4j.Slf4j;

import org.springframework.stereotype.Service;

import com.jaws.demo.dao.AccountInfoDao;
import com.jaws.demo.domain.AccountInfoDO;

@Service
@Slf4j
public class AccountQueryServiceImpl implements AccountQueryService {

	@Resource
	private AccountInfoDao accountInfoDao;

	@Override
	public AccountInfoDO queryAccountInfoByUser(String userId) {
		AccountInfoDO po = accountInfoDao.queryAccountInfoByUser(userId);
		return po;
	}


}
